export default {
  /**
   * 空对象
   * */
  isEmptyObject: obj => {
    let count = 0;
    for (let key in obj) {
      if (Object.hasOwnProperty.call(obj, key)) {
        count++;
      }
    }
    return count === 0;
  }
};
